{assign_adv var=menu value="array(
	array(
                view  => 'latest',
		title => 'Siste hendelser',
		icon  => 'viewmag.png',
		url   => 'incident.php',
	),

	array(
                view  => 'area',
		title => 'Område',
		icon  => 'viewmag.png',
		url   => 'incident.php?view=area'
		
	),

	array(
                view  => 'offense',
		title => 'Synd',
		icon  => 'viewmag.png',
		url   => 'incident.php?view=offense'
	),

	array(
                view  => 'user',
		title => 'Bidragsyter',
		icon  => 'viewmag.png',
		url   => 'incident.php?view=user'
	))"
}

<div style="border : 1px solid; border-color : silver; margin-top : 1em;">
	<div style="background-color : #FFFAF4; padding-right : 0.5em; padding-left : 0.5em;">
		<h4>Utforsk:</h4>
	</div>

	{foreach item=menu_item from=$menu}
		{if $current == $menu_item.view}	
			<div style="border-top : 1px solid; border-color : silver; 
				height : 25px; padding-right : 0.5em; padding-left : 0.5em; padding : 0.5em;">
				<img src="graphic/22x22/{$menu_item.icon}" alt="" /> 
				<span style="text-decoration : none; font-size : large;">
					<a href="{$menu_item.url}">{$menu_item.title}</a>
				</span>
			</div>
		
		{else}
			<div style="border-top : 1px solid; border-color : silver; height : 19px;
				padding : 0.5em;">
				<img src="graphic/16x16/{$menu_item.icon}" alt="" /> 
				<a href="{$menu_item.url}">{$menu_item.title}</a>
			</div>

		{/if}
	{/foreach}
</div>




